package com.czxy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 广告(轮播图模块)
 * </p>
 *
 * @author xuewen
 * @since 2022-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbAdvert对象", description="广告(轮播图模块)")
public class TbAdvert implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "对应的招聘信息id")
    private Integer recruitmentId;

    @ApiModelProperty(value = "是否展示")
    private Integer isShow;

    @TableField(exist = false)
    private TbRecruitmentInfo tbRecruitmentInfo;


}
